#!/bin/bash
#date 2022/1/18
#mail it-arch
echo "1 php5.5"
echo "2 php7.1"
read -p "please input you php:" VER
case $VER in 
1)
	pkill php-fpm && /tools/php-5.5.38/sapi/fpm/php-fpm
	echo "now used php5.5"
;;
2)	
	pkill php-fpm && /tools/php-7.1.0/sapi/fpm/php-fpm
	echo "now used php7.1"
;;
*)
	echo "Input error.Please input number!"
;;
esac
